import 'package:flutter/material.dart';

void main() => runApp(const RowColumnDemo());

class RowColumnDemo extends StatelessWidget {
  const RowColumnDemo({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('RowColumn Demo'),
        ),
        body: const Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Text('1. Hello, World!'),
                // Text('2. Hello, World!'),
              ],
            ),
            Row (
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                // Text('1. Hello, World!'),
                Text('2. Hello, World!'),
              ],
            ),
            Row (
              // mainAxisAlignment: MainAxisAlignment.center,
              children: [
                // Text('1. Hello, World!'),
                Text('3. Hello, World!'),
              ],
            )
          ],
        ),
      ),
    );
  }
}